<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" lang="en">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>dataq | Log in</title>

    <!-- Google Font: Source Sans Pro -->
    <link rel="stylesheet"
          href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,400i,700&display=fallback">
    <!-- Font Awesome -->
    <link rel="stylesheet" href="../static/css/all.min.css">
    <!-- icheck bootstrap -->
    <link rel="stylesheet" href="../static/css/icheck-bootstrap.min.css">
    <!-- Theme style -->
    <link rel="stylesheet" href="../static/css/adminlte.min.css">
</head>
<body class="hold-transition login-page"
      style="background:url(../static/img/back3.jpg) no-repeat 0px center;background-size: 100%;">
<div class="login-box">
    <div class="login-logo">
        <a href="#"><b>data</b>q</a>
    </div>
    <!-- /.login-logo -->
    <div class="card" style="opacity:0.9;">
        <div class="card-body login-card-body">
            <p class="login-box-msg"><span style="font-size: 8px;color: #786ca9">小小城系统-</span>登录查询数据</p>

            <form th:action="@{/index}" method="post">
                <div class="input-group mb-3">
                    <input type="text" class="form-control" placeholder="用户名" value="test" name="username"
                           required="required">
                    <div class="input-group-append">
                        <div class="input-group-text">
                            <span class="fas fa-envelope"></span>
                        </div>
                    </div>
                </div>
                <div class="input-group mb-3">
                    <input type="password" class="form-control" placeholder="密码" value="111111" name="password"
                           required="required">
                    <div class="input-group-append">
                        <div class="input-group-text">
                            <span class="fas fa-lock"></span>
                        </div>
                    </div>
                </div>
                <div th:if="${msg} != ''"><span style="color:rgb(38, 249, 0);" th:text="${msg}"/></div>
                <div class="row">
                    <div class="col-8">
                        <div class="icheck-primary">
                            <input type="checkbox" id="remember" name="remember">
                            <label for="remember">
                                Remember Me
                            </label>
                        </div>
                    </div>
                    <!-- /.col -->
                    <div class="col-4">
                        <button type="submit" class="btn btn-primary btn-block">Sign In</button>
                    </div>
                    <!-- /.col -->
                </div>
            </form>
        </div>
        <!-- /.login-card-body -->
    </div>
</div>
<!-- /.login-box -->

<!-- jQuery -->
<script src="../static/js/jquery.min.js"></script>
<!-- Bootstrap 4 -->
<script src="../static/js/bootstrap.bundle.min.js"></script>
<!-- AdminLTE App -->
<script src="../static/js/adminlte.min.js"></script>
</body>
</html>
